/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package compilador.datos;

import java.util.ArrayList;
import java.util.Hashtable;

/**
 *
 * @author Iñaki Goffard
 */
public class ListaCampos {

    private Hashtable campos;

    private boolean error;

    private ArrayList pend;

    private int tam;

    public ListaCampos (){
        this.campos = new Hashtable();
        this.error =false;
        this.tam=0;
    }

    public Hashtable getCampos(){
        return this.campos;
    }

    public boolean getError(){
        return this.error;
    }

    public void serError(boolean error){
        this.error=error;
    }

    public ArrayList getPend(){
        return this.pend;
    }

    public void setPend(ArrayList pend){
        this.pend = pend;
    }

    public void setTam(int tam){
        this.tam=tam;
    }

    public int getTam(){
        return this.tam;
    }

}
